namespace ccapps
{

	using System;
	using System.Web;
	using System.Web.UI;
	/// <summary>
	/// Summary description for Class1.
	/// </summary>
	public class BasePage : System.Web.UI.Page
	{
		private string pageTitle;

		public string PageTitle 
		{
			get { return pageTitle; }
			set { pageTitle = value; }
		}


		protected override void OnInit(System.EventArgs e) 
		{
			this.Controls.AddAt(0, LoadControl("Header.ascx"));
			base.OnInit(e);
			this.Controls.Add(LoadControl("Footer.ascx"));
		}
	}

	public class BaseControl : System.Web.UI.UserControl
	{
		public new BasePage Page 
		{
			get { return (BasePage)base.Page; }
		}
	}

	}


